package a02demo2;

import java.util.Arrays;
import java.util.function.Consumer;

public class Test3 {
    public static void main(String[] args) {

        int[] arr1 = {1,2,3,4,5,6,7,8,9};

        Arrays.stream(arr1).forEach(s->System.out.println(s));

        String[] arr2 = {"a","b","c"};

        Arrays.stream(arr2).forEach(s->System.out.println(s));
    }
}
